package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.util.PageBean;

import java.util.List;

public interface TbSpecificationService {
    PageBean<TbSpecification> getSpecificationList(Integer pageNumber, Integer pageSize);

    void saveSpciOption(String specName, List<TbSpecificationOption> specificationList);

    TbSpecification getBrandById(Long id);

    void updateSpciOption(TbSpecification tbSpecification, List<TbSpecificationOption> specificationList);

    void deleteBatchSpecOption(Integer[] ids);

    List<TbSpecification> specificationList();
}
